﻿/*
   Author: Tomer Paz
   games.com
   2007
*/

/* Sleep immitation implementation using Flash Timer class */

package monopoly.IFS.utils {
	
	import flash.events.*;
	import flash.utils.Timer;
	
	public class Sleep extends Object
		{
		public function Sleep(TimeToSleep:uint):void
			{
			var timer:Timer = new Timer(TimeToSleep, 1);
			timer.addEventListener(TimerEvent.TIMER, deferredMethod);
			timer.start( );
			}
			
		private function deferredMethod():void
			{
			}
		}
}